package cn.edu.scujcc;


import java.util.List;
import java.util.Optional;

import org.springframework.data.mongodb.repository.MongoRepository;

public interface NoteRepository extends MongoRepository<Note, String> {
	public List<Note> findByleave_time(User leave_time);

	public Optional<Note> findByleave_name(User leave_name);
}
